#![no_std]
#![no_main]
#![doc = include_str!("../README.md")]

#[macro_use]
extern crate axlog;

extern crate alloc;
extern crate axruntime;

use alloc::{borrow::ToOwned, format, vec::Vec};

use axfs_ng::FS_CONTEXT;

mod entry;
mod gpio;
mod onnx_runtime;
mod test;

#[unsafe(no_mangle)]
fn main() {
    starry_api::init();

    gpio::run_gpio();
    onnx_runtime::run_zhulong();
}

#[cfg(feature = "vf2")]
extern crate axplat_riscv64_visionfive2;

#[cfg(feature = "2k1000la")]
extern crate axplat_loongarch64_2k1000la;

#[cfg(feature = "opi5p")]
extern crate axplat_aarch64_opi5p;
